<?php
/**
 * @version $Id: oonfig.xposters.php 001 2007-09-09 18:34:23Z userxp $
 * @package  XPosters
 *
 * XPosterS Primary Class File
 * @copyright Copyright (C) 2005-2007 JoomlaTune Projects. All rights reserved.
 * @license http://creativecommons.org/ Creative Common License
 * @developed by Alexey Brin aka UserXP
 * 
 * web: http://joomlatune.ru
 * email: userxp@joomlaportal.ru
 *
 **/

defined('_VALID_MOS') or defined('_JEXEC') or die('Direct Access to this location is not allowed.');

class JXHtmlLegend extends JXHtmlTable
{
	var $start_tag	= 'legend';
	var $finish_tag	= 'legend';
}

class JXHtmlFieldset extends JXHtmlTable
{
	var $start_tag	= 'fieldset';
	var $finish_tag	= 'fieldset';
	
	function create( $title='', $content='', $frleft=' | ',$frright=' | ' )
	{
		$legend = new JXHtmlLegend();
		$legent->inner_text = '<span>'.$frleft.$title.$frright.'</span>';
		
		$this->addChild( $legend );
		$this->inner_text = $content;
		
		return $htis->build( false, true, true );
	}
}

?>